package edu.guigu.livedatademo;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import java.util.List;

public class UserViewModel extends ViewModel {
    private MutableLiveData<User> userLiveData = new MutableLiveData<>(); // 可被观察的LiveData数据

    public MutableLiveData<User> getUserLiveData() {
        return userLiveData;
    }

    private UserViewModel(){

    }
}
